<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>学生个人信息</title>
</head>
<body>
<!--<input type="search" th="#{user.id}"><button>查询</button>-->
<table>
    <tr>
        <td>核酸编号:</td>
        <td th:text="${test.id}"></td>
    </tr>
    <tr>
    <td>核酸结果:</td>
    <td th:text="${test.result}"></td>
    </tr>
    <tr>
    <td>是否出现发热症状:</td>
    <td th:text="${test.ishealth}"></td>
    </tr>

</table>
<table cellspacing="1">
    <thead>
    <tr>
        <th>学号</th>
        <th>性别</th>
        <th>姓名</th>
        <th>身份证号码</th>
        <th>电话号</th>
        <th>邮箱</th>
        <th>专业</th>
        <th>班级</th>
    </tr>
    </thead>
    <tbody th:each="user:${test.userList}">
    <tr>
        <td th:text="${user.id}"></td>
        <td th:text="${user.sex}"></td>
        <td th:text="${user.name}"></td>
        <td th:text="${user.idcard}"></td>
        <td th:text="${user.telephone}"></td>
        <td th:text="${user.email}"></td>
        <td th:text="${user.major}"></td>
        <td th:text="${user.classes}"></td>

    </tr>
    </tbody>
</table>


</body>
</html>